/*
Input form plugin
Version 0.0.1

Autor: Pomazan Maxim
Email: maxazan@mail.ru
Site: http://maxazan.com/


*/
	(function($) {

$.fn.inputfile=function(options){

	var settings = {
			button:"<button>Select file</botton>"
		};

	$.extend(settings, options);
	this.each(function(){

	 var block_div=$("<div></div>").css({position: "relative"});
		var fake_div=$("<div></div>").addClass("fakefile");
		var button=$(settings.button);
		$(this).addClass("file");

		$(this).wrap(block_div).after(fake_div.append(button));
		
	});
	
	
}

})(jQuery);